<template>
  <div class="info">
    <p class="title">
      <i></i>
      病毒信息
    </p>
    <div class="content">
      <div v-if=CovidInfo.note1>
        <p>{{ CovidInfo.note1 }}</p>
        <p>{{ CovidInfo.note2 }}</p>
        <p>{{ CovidInfo.note3 }}</p>
        <p>{{ CovidInfo.remark1 }}</p>
        <p>{{ CovidInfo.remark2 }}</p>
        <p>{{ CovidInfo.remark3 }}</p>
      </div>
      <div v-else style="text-align:center">暂无信息</div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    CovidInfo: {
      type: Object,
      default: () => {
        return {}
      }
    }
  }
}
</script>

<style lang="scss" scoped>
.info {
  .title {
    padding: 16px;
    font-size: 17px;
    i {
      display: inline-block;
      width: 4px;
      height: 16px;
      background: #4169e2;
      margin-right: 0.1875rem;
      vertical-align: middle;
    }
  }
  .content {
    padding: 0 16px 16px;
    div {
        font-size: 13px;
      p {
        margin: 5px 0;
      }
    }
  }
}
</style>
